package com.zhaojun.cloud.common.mapper.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhaojun.cloud.common.mapper.mapper.SeckillMapper;
import com.zhaojun.cloud.common.mapper.service.ISeckillAccessService;
import com.zhaojun.cloud.common.pojo.Seckill;
import org.springframework.stereotype.Service;

/**
 * wwj
 * 2019/1/2  16:11
 */
@Service
public class ISeckillAccessServiceImpl extends ServiceImpl<SeckillMapper, Seckill> implements ISeckillAccessService {

    @Override
    public void updateSeckillStock(Long id) {
        this.baseMapper.updateSeckillStock(id);
    }
}
